<?php foreach ($line->result() as $key => $val ): ?>
<li>
    <a href="<?php echo site_url('line/lineproduct/view/'.$val->id);?>" class="am-cf">
        <div class="pic">
            <img src="/skins/home/images/load.jpg" data-original="<?php echo $this->config->show_image_url($val->line_image, '300-300')?>" class="lazy"/>
        </div>
        <div class="detail">
            <p class="text-overflow2 title">
                <span>
                    <span class="type">
                        <?php echo $line_travel_type[$val->line_travel_type];?>
                    </span>
                </span>
                <?php echo $val->line_name;?>
            </p>
            <div class="line-tips">
                <span><?php echo $val->sales_qty;?>人已购买</span>
                <span><?php echo $val->start_address;?></span>
            </div>
            <div class="bottom">
                <div class="price"><span><i>￥</i><?php echo $val->bz_price;?></span>起/人</div>
            </div>
        </div>
<!--        <em class="tab">积分可抵</em>-->
    </a>
</li>
<?php endforeach ?>